<body>
PASS if we don't crash.
<iframe id="i" srcdoc=""></iframe>
<script>
if (window.testRunner) {
  testRunner.dumpAsText();
  testRunner.waitUntilDone();
}

i.contentWindow.onload = function() {
  // |window.event| should be set to invoked load event.
  var detached_event = window.event;
  i.remove();
  detached_event.timeStamp;
  if (window.testRunner)
    testRunner.notifyDone();
}
</script>
